﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Tutorial 1: Tic Tac Toe (alpha 0.1)</title>
<meta name="GENERATOR" content="WinCHM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>

<body>
<P><FONT face=Courier><FONT 
><FONT color=#ff0000><FONT 
><STRONG>Làm theo cái <FONT color=#0000ff>tictactoe</FONT>    này là một sai 
lầm</STRONG></FONT> </FONT></FONT>   
</FONT></P>
<P><FONT face=Courier><FONT 
><FONT color=#ff0000><STRONG><FONT 
>hày bắt&nbsp;đầu bằng</FONT></STRONG> &nbsp;</FONT><FONT 
color=#0000ff>Tutorial 3: Connect 4 (beta 0.3)</FONT></FONT>   
</FONT></P>
<P><FONT face=Courier>Creating a New 
Project</FONT></P>
<P><FONT face=Courier>folder : jogre/tictactoe</FONT></P>
<P><BR>tictactoe/images<BR>tictactoe/src<BR>tictactoe/src/org/jogre/tictactoe/awt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Location of tic-tac-toe graphical 
components<BR>tictactoe/src/org/jogre/tictactoe/client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Location of tic-tac-toe client specific 
classes<BR>tictactoe/src/org/jogre/tictactoe/comm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Client/Server tic-tac-toe communication 
objects<BR>tictactoe/src/org/jogre/tictactoe/server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location 
of tic-tac-toe server specific classes<BR></P>
<P><FONT face=Courier>build.xml    
</FONT></P>
<P><FONT face=Courier>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#000000 cellSpacing=0 
cellPadding=2 width="100%" border=1>
  
  <TR>
    <TD>game.properties<BR>game_labels.properties</TD>
    <TD>&nbsp;tictactoe/</TD></TR>
  <TR>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR></TABLE><BR></P></FONT>
<P><FONT face=Courier>    
</FONT>&nbsp;</P>
<P><FONT face=Courier><STRONG><FONT color=#ff0000>jar 
files</FONT>&nbsp;<BR></STRONG>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#000000 cellSpacing=0 
cellPadding=2 width="100%" border=1>
  
  <TR>
    <TD>   <A 
      href="http://jogre.sourceforge.net/download.htm#source">http://jogre.sourceforge.net/download.htm#source</A><BR>mục 
      Source Downloads</TD>
    <TD>
      <P><FONT color=#ff0000><STRONG>JOGRE also contains some library jar files in the 
      <EM><FONT color=#0000ff>jogre/server/lib</FONT></EM>       
         directory. Thesse include: -</STRONG></FONT></P>
      <P>dom4j (XML DOM parsing)<BR>junit (unit testing library)<BR>iBatis 
      (iBatis SQL maps)<BR>HSQLDB (Java database)<BR>mysql-connector (MySQL JDBC 
      driver)<BR>DBUnit (database unit testing)<BR>Struts (MVC web application 
      library)</P></TD></TR>
  <TR>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR></TABLE></FONT></P>
<P><FONT face=Courier>    
</FONT>&nbsp;</P>
<P><FONT face=Courier>-&gt; Creating a Server 
:</FONT></P>
<P>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#000000 cellSpacing=0 
cellPadding=2 width="100%" border=1>
  
  <TR>
    <TD>
      <P>&nbsp;<FONT face=Courier>TicTacToeServer.java<BR></FONT><FONT face=Courier>// TicTacToeServer Server.<BR>public class 
      <STRONG>TicTacToeServer</STRONG> extends <STRONG>JogreServer</STRONG> {</FONT></P>
      <P><FONT face=Courier>TicTacToeServerConnectionThread.java<BR>// 
      TicTacToeServer Server.<BR>public class <STRONG>TicTacToeServer</STRONG> extends 
      <STRONG>JogreServer</STRONG>    
       
      {<BR></P></FONT></TD>
    <TD>&nbsp;tictactoe/src/org/jogre/tictactoe/server</TD></TR>
  <TR>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR></TABLE></P></body>
</html>
